<script>
	//#ifdef H5
	import {
		login
	} from './common/h5login.js'
	
	//#endif
	export default {
		onLaunch:function() {
			//#ifdef H5
			window.entryUrl = location.href.split('#')[0]
			let token=this.queryToken(location.href).token
			if(token!=undefined){
				this.$store.commit('updataToken', token)
			}
			//#endif
	
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import url("/components/un-parse/u-parse.css");
	button{
		margin: 0;
		padding: 0;
		display: block;
	}
	button:after{
		border: none;
	}
</style>
